package com.fan.admin.service.impl;

import com.fan.admin.dao.ClaInfoMapper;
import com.fan.admin.service.ClaInfoService;
import com.fan.commons.pojo.ClaInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/13
 */
@Service
public class ClaInfoServiceImpl implements ClaInfoService {

	@Autowired
	private ClaInfoMapper claInfoMapper;

	@Override
	public int insertCalInfo(ClaInfo claInfo) {
		return claInfoMapper.insertCalInfo(claInfo);
	}

	@Override
	public List<ClaInfo> queryCalInfo(ClaInfo claInfo) {
		return claInfoMapper.queryCalInfo(claInfo);
	}

//	@Override
//	public int insertCourseAndCla(CourseCla courseCla) {
//		return claInfoMapper.insertCourseAndCla(courseCla);
//	}

//	@Override
//	public int deleteCourseAndCla(Integer id) {
//		return claInfoMapper.deleteCourseAndCla(id);
//	}

//	@Override
//	public List<CourseCla> selectClaCourse(String claId) {
//		return claInfoMapper.selectClaCourse(claId);
//	}
//
//	@Override
//	public List<CourseCla> selectAllHas(String courseId) {
//		return claInfoMapper.selectAllHas(courseId);
//	}

//	@Override
//	public List<ClaInfo> selectAllNo(String courseId) {
//		return claInfoMapper.selectAllNo(courseId);
//	}

//	@Override
//	public int insertCourseStudent(CourseStudent courseStudent) {
//		return claInfoMapper.insertCourseStudent(courseStudent);
//	}
//
//	@Override
//	public List<CourseStudent> selectCourseStudent(CourseStudent courseStudent) {
//		return claInfoMapper.selectCourseStudent(courseStudent);
//	}
}
